open connection

This block is part of the Home Automaton group and was last modified in core v13.0.8.

open connection v13.0.8

This interface is used to open a connection to the Aqara service.

In pins 4 + flow
  • flow
    flow
  • App ID required
    value

    Appid of the third-party application

  • Key ID required
    value

    appKey corresponds to Keyid

  • App Key required
    value

    AppKey of the third-party application

  • Access Token
    value

    Access Token obtained through authorization, if not given the connection can only be used for doing authorization requests.

Out pins 3 + flow
  • flow
    flow
  • Connection
    aqaraconnection

    The aqara connection

  • Success
    condition

    If successful, return true.

  • Error
    value

    Error message if the connection could not be established.

A typical wiring for open connection: a function trigger starts the flow; value feeds the app_id pin; value feeds the key_id pin; value feeds the app_key pin; the flow out pin feeds debug.

Studio canvas example for the open connection block: typical wiring for open connection.

Version history

Introduced in v13.0.8.


Back to Home Automaton Return to the main group to view all sub-groups Back to Aqara Return to the group to view all blocks within this group